package com.erp.programmer.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.erp.programmer.domain.LocalCompany;
import com.erp.programmer.dto.*;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 陈鑫
 * @since 2021-05-23
 */
public interface ILocalCompanyService extends IService<LocalCompany> {
    // 登录验证
    ResponseDto<LoginUserDto> login(LocalCompanyDto localCompanyDto);
    // 获取全部员工信息
    ResponseDto<PageDto<LocalCompanyDto>> getAll(PageDto<LocalCompanyDto> pageDto);
    // 添加员工信息
    ResponseDto<PageDto<LocalCompanyDto>> insertLocalCompany(LocalCompanyDto localCompanyDto);
    // 修改员工信息
    ResponseDto<PageDto<LocalCompanyDto>> updateLocalCompany(LocalCompanyDto localCompanyDto);
}
